/* Gtkmm dialog */

#ifndef _OPEN_PANELS_H
#define _OPEN_PANELS_H

#include <gtkmm/box.h>
#include <gtkmm/checkbutton.h>
#include <gtkmm/frame.h>

class SubTitleBox : public Gtk::VBox
{

public:
  
  SubTitleBox ();
  virtual ~SubTitleBox ();

  void view_box ()
  {
    if (m_check_button->get_active())
      m_sub_title_frame->show_all ();
    else
      m_sub_title_frame->hide ();
  }

private:

  Gtk::CheckButton *m_check_button;
  Gtk::Frame *m_sub_title_frame;

};


class FileOpenPanel : public Gtk::VBox
{

public:
 
  FileOpenPanel ();
  virtual ~FileOpenPanel ();

  SubTitleBox::SubTitleBox *m_sub_title;

};

#endif /* _OPEN_PANELS_H */
